package com.example.firstjavamqtt.model.log;

import com.baomidou.mybatisplus.annotation.TableName;
import com.example.firstjavamqtt.model.base.BaseLog;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@EqualsAndHashCode(callSuper = true)
@ApiModel("温湿度检测模块日志")
@TableName("temp_humidity_log")
@Data
@ToString
public class TemperatureHumidityMonitorLog extends BaseLog {

    @ApiModelProperty(value = "温度")
    private double temperature;
    @ApiModelProperty(value = "湿度")
    private double humidity;
}
